﻿<%@ Control Language="C#" AutoEventWireup="true" Inherits="HL.Lib.MVC.ViewControl" %>
<% 
    var listItem = ViewBag.Data as List<ModAdvEntity>;
    string clas = string.Empty;
%>
<div class="advtop">
    <%for (int i = 0; listItem != null && i < listItem.Count; i++)
      { %>
    <a href="<%=ViewPage.GetURL("default") %>">
        <img src="<%=listItem[i].File.Replace("~/","/") %>" /></a>
    <%} %></div>
